package com.maotai.llzhou.service;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.maotai.llzhou.dao.HuaRunDao;

@Transactional  //注入事务管理   
@Component("huaRunService")
public class HuaRunService {
	@Resource
	HuaRunDao huaRunDao;
	public Map<String, Object> getUniqueId(Map<String,String> map) throws SQLException{
		return huaRunDao.getUniqueId(map);  
	}
	public Map<String, Object> getAppVersion() throws SQLException{
		return huaRunDao.getAppVersion();  
	}
	public Map<String, Object> getHROrder() throws SQLException{
		return huaRunDao.getHROrder();  
	}
	
	public List<Map<String, Object>> queryMaotaiUser(Map<String,String> map) throws SQLException{
		return huaRunDao.queryMaotaiUser(map);  
	}
	public List<Map<String, Object>> getAllCity() throws SQLException{
		return huaRunDao.getAllCity();  
	}
	public List<Map<String, Object>> queryHuaRunOrderSimple(Map<String,String> map) throws SQLException{
		return huaRunDao.queryHuaRunOrderSimple(map);  
	}
	public List<Map<String, Object>> queryHuaRunOrderItem(Map<String,String> map) throws SQLException{
		return huaRunDao.queryHuaRunOrderItem(map);  
	}
	public List<Map<String, Object>> queryQQOrder() throws SQLException{
		return huaRunDao.queryQQOrder();  
	}
	public List<Map<String, Object>> getZhanghaoInfo() throws SQLException{
		return huaRunDao.getZhanghaoInfo();  
	}
	public List<Map<String, Object>> queryOneQQOrder() throws SQLException{
		return huaRunDao.queryOneQQOrder();  
	}
	public int insertQQOrder(Map<String,String> map)throws SQLException{
		return huaRunDao.insertQQOrder(map);
	}
	public int updateHROrder(Map<String,String> map)throws SQLException{
		return huaRunDao.updateHROrder(map);
	}
	public int insertHROrder(Map<String,String> map)throws SQLException{
		return huaRunDao.insertHROrder(map);
	}
	public int updateUserOrderCheck(Map<String,String> map)throws SQLException{
		return huaRunDao.updateUserOrderCheck(map);
	}
	public int deleteUser(Map<String,String> map)throws SQLException{
		return huaRunDao.deleteUser(map);
	}
	public int uploadUser(List<Map<String,String>> userList)throws SQLException{
		return huaRunDao.uploadUser(userList);
	}
}
